package ntd.util.modular.function.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import ntd.util.config.common.entity.BaseEntityMybatis;
import ntd.util.config.common.enums.app.EnumAppType;
import ntd.util.util.metadata.NtdField;

@EqualsAndHashCode(callSuper = true)
@TableName("function_app_info")
@Data
@Schema(description = "功能中心 - 应用信息管理")
public class AppInfo extends BaseEntityMybatis<AppInfo> {

    @Schema(description = "所属机构")
    @NtdField(type = 6, oneModular = "common", twoModular = "mechanism")
    private String tenantId;
    @Schema(description = "应用名称")
    private String name;
    @Schema(description = "应用描述")
    private String remark;
    @Schema(description = "应用类型")
    private EnumAppType enumAppType;
    @Schema(description = "二维码")
    private String imgQr;
    @Schema(description = "封面图片")
    private String imgCover;
    @Schema(description = "访问地址")
    private String linkUrl;
    @Schema(description = "包名")
    private String packageName;
    @Schema(description = "负责人")
    private String personInCharge;
    @Schema(description = "负责人电话")
    private String personPhone;
    @Schema(description = "排序权重")
    private String sort;

}
